package com.nyist.service.impl;

import com.nyist.pojo.User;
import com.nyist.result.CommonResult;
import com.nyist.service.PayService;
import org.springframework.stereotype.Component;

@Component
public class PayFallbackServiceImpl implements PayService {

    @Override
    public CommonResult paySQL(Integer id) {
        return new CommonResult("444444","服务降级返回---PayFallbackServiceImpl",new User(id,"Error",20));
    }
}
